// ECGWorkStation.h : main header file for the ECGWORKSTATION application
//

#if !defined(AFX_ECGWORKSTATION_H__FC637ED2_525E_4B33_AA67_4D8F5855D2DF__INCLUDED_)
#define AFX_ECGWORKSTATION_H__FC637ED2_525E_4B33_AA67_4D8F5855D2DF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CECGWorkStationApp:
// See ECGWorkStation.cpp for the implementation of this class
//
enum  ENUM_DB_LEVEL{
	LEVEL_PATIENT,
	LEVEL_STUDY,
	LEVEL_NULL
};

enum ENUM_USER_TYPE{
	USER_TYPE_NORMAL,
	USER_TYPE_ADMIN,
	USER_TYPE_SENIOR,
	USER_TYPE_NULL
};


class CECGWorkStationApp : public CWinApp
{
public:
	CECGWorkStationApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CECGWorkStationApp)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CECGWorkStationApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	int m_nUserType;
	CString m_strUserID;
	CString m_strUserName;
	CString m_strConnection;
	CString m_strConnUserName;
	CString m_strConnPassWord;
	HINSTANCE m_hInstanceMenu;
	CString  m_strLanguage;

	CString GetUID(CString strTable);
//	CString GetECGStudyResult(int nType);

	GdiplusStartupInput m_gdiplusStartupInput;
 	 ULONG_PTR m_gdiplusToken;

	 BOOL LoadLanguage();

private:
	void VerifySystemDateTimeFormat();
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ECGWORKSTATION_H__FC637ED2_525E_4B33_AA67_4D8F5855D2DF__INCLUDED_)
extern CECGWorkStationApp theApp;
